package com.example.nit.service;

import com.example.nit.bean.ValueCategory;
import com.example.nit.mapper.ValueCategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 杨铭
 * 2022/12/1,12:41
 */
@Service
@Transactional
public class ValueCategoryServiceImpl {
    @Autowired
    ValueCategoryMapper valueCategoryMapper;
    public List<ValueCategory>queryAll(){
        return valueCategoryMapper.selectList(null);
    }
}
